NDepend.API Documentation
ToManYear(Nullable<TimeSpan>) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqDebtFormatter Class > ToManYear Method : ToManYear(Nullable<TimeSpan>) Method
The nullable estimated duration to fix one or several issues
Gets a double number of man-years that represents duration. The number of man-years is computed from this.NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.NumberOfWorkHourPerDay and this.NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.NumberOfWorkDayPerYear.
Syntax
[Extension()]
public static Nullable<double> ToManYear( 
   Nullable<TimeSpan> duration
)

Parameters

duration
The nullable estimated duration to fix one or several issues
Exceptions
ExceptionDescription
This extension method cannot be called from a program consuming NDepend.API. In such context, the method NDepend.TechnicalDebt.IDebtFormatter.NDepend.TechnicalDebt.IDebtFormatter.ToManYear must be called instead.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsCQLinqDebtFormatter Class
ExtensionMethodsCQLinqDebtFormatter Members
Overload List